package com.msy.mai.module.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.msy.mai.module.system.entity.domain.SysRole;
import com.msy.mai.module.system.entity.vo.SysRoleVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Wang
* @description 针对表【sys_role(角色信息表)】的数据库操作Mapper
* @createDate 2024-10-27 19:20:41
* @Entity generator.domain.SysRole
*/
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRoleVo> selectRolesByUserId(Long userId);

}




